.role_manager {
  height: calc(100vh - 92px - 24px);
  box-sizing: border-box;
  padding: 12px;
  margin: 12px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 12px;

  .header {
    display: flex;
    justify-content: space-between;

    .btn_group {
      display: flex;
      column-gap: 5px;
    }

    .search {
      display: flex;
      column-gap: 5px;

      :deep(.el-input) {
        width: 120px;
      }
    }
  }

  .table {
    max-height: calc(100% - 80px);
  }

  .pagination {
    display: flex;
    justify-content: flex-end;
  }
}

.header {
  .mr5 {
    margin-right: 5px;
  }

  .btn {
    display: flex;
    align-items: center;
  }

  .input-width {
    width: 150px;
    margin-right: 5px;
  }
}

.app-container-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.table-role {
  margin-top: 10px;
  flex: 1;
  position: relative;
}

.footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn_save {
  width: 3.2vw;
}

.btn_delete {
  width: 3.2vw;
  color: #fff;
}

.btn_cancel {
  width: 3.2vw;
}

:deep(.el-radio__input.is-disabled) {
  span {
    background: #f5f7fa !important;
    border-color: #e4e7ed !important;
  }

  span.el-radio__label {
    span {
      color: #999 !important;
    }
  }
}

:deep(.el-radio.is-disabled.is-checked) {
  span.el-radio__label {
    span {
      color: #999 !important;
    }
  }
}

// .add-dialog {
//     .form-text {
//         margin-bottom: 10px;

//         .form-item {
//             margin-bottom: 20px;

//             .item-input {
//                 width: 200px;
//             }

//             .bg_text {
//                 color: #999999;
//             }

//             .is-checked {
//                 .bg_text {
//                     color: #007cff;
//                 }
//             }
//         }
//     }

//     .btns {
//         display: flex;
//         align-items: center;
//         justify-content: flex-end;
//     }
// }

:deep(.edit-dialog) {
  .form-text {
    .form-item {
      margin-bottom: 20px;

      .item-input {
        width: 200px;
      }
    }

    .bg_text {
      color: #999999;
    }

    .is-checked {
      .bg_text {
        color: #007cff;
      }

      .el-radio__inner::after {
        background-color: #fff;
      }
    }
  }

  .mb10 {
    margin-bottom: 10px;
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

:deep(.assign-dialog) {
  min-height: 380px;
  .el-cascader-menu__wrap.el-scrollbar__wrap {
    height: auto;
  }
  .btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 12px;
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
